package io.renren.modules.sp.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* 赛事
*
* @author whc 15953295779@126.com
* @since 3.0 2023-04-21
*/
@Data
@ApiModel(value = "赛事")
public class SpMatchDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;
    @ApiModelProperty(value = "赛事名称")
    private String matchName;
    @ApiModelProperty(value = "赛事等级")
    private Integer matchLevel;
    @ApiModelProperty(value = "母赛事")
    private Integer matchParentId;
    private String matchParentName;
    @ApiModelProperty(value = "省")
    private String province;

    private String provinceName;
    @ApiModelProperty(value = "市")
    private String city;
    @ApiModelProperty(value = "是否跨地区")
    private Integer isOpen;
    @ApiModelProperty(value = "赛季年度 2023年度, 字典表")
    private String season;
    @ApiModelProperty(value = "比赛时间起")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date beginDate;
    @ApiModelProperty(value = "比赛时间止")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date endDate;
    @ApiModelProperty(value = "报名时间起")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date beginSignup;
    @ApiModelProperty(value = "报名时间止")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date endSignup;
    @ApiModelProperty(value = "管理员")
    private Integer adminId;
    private String adminName;
    @ApiModelProperty(value = "赛事状态 0未发布  1已发布")
    private Integer status;
    private String times;
    @ApiModelProperty(value = "可报名项  1仅可报名1项 2可报名1项个人1项团体")
    private Integer allowQty;

    private String matchDate;

    private String signupDate;

    private String pic;
    private String pic2;
    private String pic3;
    private String pic4;
    private String pic5;
    private Integer sort;
    private String allowJx;
    private String promissFile;
    private String registFile;
    private String stopSignup;
    private String needPromissFile;
    private String needRegistFile;
}
